package com.synergy.stockflow.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`process`")
public class Process {
    /**
     * 工艺路线编号
     */
    @TableId(value = "process_route_id", type = IdType.ASSIGN_ID)
    @Schema(description="工艺路线编号")
    private String processRouteId;

    /**
     * 工艺路线名称
     */
    @TableField(value = "process_route_name")
    @Schema(description="工艺路线名称")
    private String processRouteName;

    /**
     * 工艺路线说明
     */
    @TableField(value = "process_route_illustrate")
    @Schema(description="工艺路线说明")
    private String processRouteIllustrate;

    /**
     * 是否启用(1=是, 0=否)
     */
    @TableField(value = "is_enabled")
    @Schema(description="是否启用(1=是, 0=否)")
    private Integer isEnabled;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @Schema(description="备注")
    private String remark;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    @Schema(description="创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @Schema(description="创建时间")
    private Date createTime;

    /**
     * 修改者
     */
    @TableField(value = "update_by")
    @Schema(description="修改者")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @Schema(description="更新时间")
    private Date updateTime;
}